package com.tencent.compose.utils

val TestString = generateRandomString(10000)

val TestIntArray = TestString.map { it.code }.toIntArray()

fun generateRandomString(length: Int): String {
    val chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
    return (1..length)
        .map { chars.random() }
        .joinToString("")
}

val TestStringArray = List(10000) { generateRandomString(10) }
